<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">

    <link type="text/css" rel="stylesheet" href="Bracketbird.css">

    <!--                                                               -->
    <!-- Consider inlining CSS to reduce the number of requested files -->
    <!--                                                               -->
    <link type="text/css" rel="stylesheet" href="Bracketbird.css">

    <!--                                           -->
    <!-- Any title is fine                         -->
    <!--                                           -->
    <link rel="shortcut icon" href="favicon.png">

    <title>Bracketbird</title>

    <!--                                           -->
    <!-- This script loads your compiled module.   -->
    <!-- If you add any GWT meta tags, they must   -->
    <!-- be added before this line.                -->
    <!--                                           -->
    <script type="text/javascript" language="javascript" src="bracketbird/bracketbird.nocache.js"></script>
          <script src='/_ah/channel/jsapi'></script>
</head>

<!--                                           -->
<!-- The body can have arbitrary html, or      -->
<!-- you can leave the body empty if you want  -->
<!-- to create a completely dynamic UI.        -->
<!--                                           -->
<body>

<!-- OPTIONAL: include this if you want history support -->
<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1'
        style="position:absolute;width:0;height:0;border:0"></iframe>
<div id="top"></div>
<div id="right"></div>

<div id="popup"></div>

<div id="panel"></div>
<div id="logpanel"></div>

<script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js'
    type='text/javascript'%3E%3C/script%3E"));

</script>
<script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-12456452-5");
    pageTracker._trackPageview();
    }
    catch(err) {
    }
</script>
<script type="text/javascript">
    var uservoiceOptions = {
    key: 'onlineclubmaster',
    host: 'onlineclubmaster.uservoice.com',
    forum: '75987',
    lang: 'en',
    showTab: false
    };
    function _loadUserVoice() {
    var s = document.createElement('script');
    s.src = ("https:" == document.location.protocol ? "https://" : "http://") +
    "cdn.uservoice.com/javascripts/widgets/tab.js";
    document.getElementsByTagName('head')[0].appendChild(s);
    }
    _loadSuper = window.onload;
    window.onload = (typeof window.onload != 'function') ? _loadUserVoice : function() { _loadSuper(); _loadUserVoice();
    };
</script>


<script type="text/javascript">

    onOpened = function() {
        channelOpened();
    };

    onMessage = function(m) {
        messageRecieved(m.data);
    }

    onError = function() {
        errorRecieved();
    };

    onClose = function() {
        channelClosed();
    };


    openChannel = function(token) {
    	var channel = new goog.appengine.Channel(token);
    	var handler = {
    		'onopen': onOpened,
    		'onmessage': onMessage,
    		'onerror': onError,
    		'onclose': onClose,
    	};
    	var socket = channel.open(handler);
    }


</script>

</body>
</html>
